const express = require("express");
const foodController = require("../../../app/controllers/o2o_client/food.server.controller.js");

module.exports = (app) => {
    const foodRouter = express.Router();
    foodRouter.route("/foods/merchantId/:merchantId").get(foodController.getFoodListByMerchantId);
    foodRouter.route("/foods/type/:type/merchantId/:merchantId").get(foodController.getFoodsByTypeAndMerchantId);
    app.use("/client", foodRouter);
}

